package com.rh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rh.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rh.entity.vo.EduTeacherPageVo;
import com.rh.result.ResultVo;

import java.util.List;
import java.util.Map;

public interface EduTeacherService extends IService<EduTeacher> {
    //1.分页查询
    ResultVo findTeacherPage(Long current,Long limit);
    //2.条件查询带分页
    ResultVo pageQuery(Long current,Long limit, EduTeacherPageVo eduTeacherVo);
    //3.添加
    ResultVo addTeacher(EduTeacher eduTeacher);
    //4.查询教师数据
    List<EduTeacher> teacherList();

    //5.前台教师分页显示
    Map<String, Object> getTeacherList(Page<EduTeacher> pages);
}
